const {getMVHttp} = require("../../models/http")
Page({
  data: {
    playlists:[]
  },
  onLoad:async function (options) {
    var res = await getMVHttp()
    console.log(res)
     var playlists = res.data.data
    playlists.forEach(item=>{
      item.pic = item.cover
      item.title = item.name
    })
    this.setData({
      playlists
    })
  }
})